[INFO] cloning repository https://github.com/tednaaa/bcup
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tednaaa/bcup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftednaaa%2Fbcup", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftednaaa%2Fbcup'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7477281138234f45732f39e67a5d3f41fff3c519
[INFO] checking tednaaa/bcup against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftednaaa%2Fbcup" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tednaaa/bcup
[INFO] finished tweaking git repo https://github.com/tednaaa/bcup
[INFO] tweaked toml for git repo https://github.com/tednaaa/bcup written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tednaaa/bcup on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tednaaa/bcup already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 6 packages to latest compatible versions
[INFO] [stderr]     Updating serde_spanned v0.6.8 -> v0.6.9
[INFO] [stderr]     Updating toml v0.8.19 -> v0.8.23 (available: v0.9.5)
[INFO] [stderr]     Updating toml_datetime v0.6.8 -> v0.6.11
[INFO] [stderr]     Updating toml_edit v0.22.23 -> v0.22.27
[INFO] [stderr]       Adding toml_write v0.1.2
[INFO] [stderr]     Updating winnow v0.7.0 -> v0.7.13
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63781de9f7d3f81e6d78a4475c2df5997605e37b0f816f2a1546135890ba027f
[INFO] running `Command { std: "docker" "start" "-a" "63781de9f7d3f81e6d78a4475c2df5997605e37b0f816f2a1546135890ba027f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63781de9f7d3f81e6d78a4475c2df5997605e37b0f816f2a1546135890ba027f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63781de9f7d3f81e6d78a4475c2df5997605e37b0f816f2a1546135890ba027f", kill_on_drop: false }`
[INFO] [stdout] 63781de9f7d3f81e6d78a4475c2df5997605e37b0f816f2a1546135890ba027f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 812a308db8bcc5604fcc3d0f4399e5d968eefa17bc520e6a903e8fe22aae9e8e
[INFO] running `Command { std: "docker" "start" "-a" "812a308db8bcc5604fcc3d0f4399e5d968eefa17bc520e6a903e8fe22aae9e8e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.69
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling native-tls v0.2.13
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]    Compiling cc v1.2.11
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking crc v3.2.1
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking rc-box v1.3.0
[INFO] [stderr]     Checking uuid v1.12.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking bumpalo v3.17.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking takecell v0.1.1
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]    Compiling zip v2.2.2
[INFO] [stderr]     Checking lockfree-object-pool v0.1.6
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking zopfli v0.8.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking deflate64 v0.1.9
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking directories v6.0.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking tempfile v3.16.0
[INFO] [stderr]    Compiling teloxide-macros v0.8.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling pin-project-internal v1.1.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking pin-project v1.1.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking dptree v0.3.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking teloxide-core v0.10.1
[INFO] [stderr]     Checking teloxide v0.13.0
[INFO] [stderr]     Checking bcup v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig`
[INFO] [stdout]   --> src/config/secrets.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Ok(AppConfig::config_dir()?.join("secrets.toml"))
[INFO] [stdout]    |            ^^^^^^^^^ use of undeclared type `AppConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::config::AppConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Archiver`
[INFO] [stdout]   --> src/telegram/client.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let archive = Archiver::create_archive(&config.paths)?;
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type `Archiver`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::backup::Archiver;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]   --> src/telegram/client.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let archive = Archiver::create_archive(&config.paths)?;
[INFO] [stdout]    |                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/backup/archiver.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig`
[INFO] [stdout]   --> src/config/secrets.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Ok(AppConfig::config_dir()?.join("secrets.toml"))
[INFO] [stdout]    |            ^^^^^^^^^ use of undeclared type `AppConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::config::AppConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Archiver`
[INFO] [stdout]   --> src/telegram/client.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let archive = Archiver::create_archive(&config.paths)?;
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type `Archiver`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::backup::Archiver;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]   --> src/telegram/client.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let archive = Archiver::create_archive(&config.paths)?;
[INFO] [stdout]    |                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/backup/archiver.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `validate_user` found for reference `&client::TelegramClient` in the current scope
[INFO] [stdout]  --> src/telegram/client.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |         if !self.validate_user(&msg).await {
[INFO] [stdout]   |                  ^^^^^^^^^^^^^ method not found in `&client::TelegramClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `bot` on type `&client::TelegramClient`
[INFO] [stdout]  --> src/telegram/client.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |             self.bot.send_message(msg.chat.id, "⛔ Unauthorized access!").await?;
[INFO] [stdout]   |                  ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_backup` found for reference `&client::TelegramClient` in the current scope
[INFO] [stdout]   --> src/telegram/client.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |         self.send_backup(&temp_path).await?;
[INFO] [stdout]    |              ^^^^^^^^^^^ method not found in `&client::TelegramClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> src/backup/archiver.rs:48:7
[INFO] [stdout]      |
[INFO] [stdout] 48   |         zip.start_file(relative_path.to_str().unwrap(), Default::default())?;
[INFO] [stdout]      |             ^^^^^^^^^^                                  ------------------ type must be known at this point
[INFO] [stdout]      |             |
[INFO] [stdout]      |             cannot infer type of the type parameter `T` declared on the method `start_file`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: FileOptionExtension`
[INFO] [stdout]      = help: the following types implement trait `FileOptionExtension`:
[INFO] [stdout]                ()
[INFO] [stdout]                ExtendedFileOptions
[INFO] [stdout] note: required by a bound in `zip::write::<impl ZipWriter<W>>::start_file`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-2.2.2/src/write.rs:1165:39
[INFO] [stdout]      |
[INFO] [stdout] 1165 |     pub fn start_file<S: ToString, T: FileOptionExtension>(
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^^^^^ required by this bound in `zip::write::<impl ZipWriter<W>>::start_file`
[INFO] [stdout] help: consider specifying the generic arguments
[INFO] [stdout]      |
[INFO] [stdout] 48   |         zip.start_file::<&str, T>(relative_path.to_str().unwrap(), Default::default())?;
[INFO] [stdout]      |                       +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `secrets::Secrets: std::default::Default` is not satisfied
[INFO] [stdout]   --> src/cli/commands.rs:37:39
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `secrets::Secrets`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `std::result::Result::<T, E>::unwrap_or_default`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:1198:5
[INFO] [stdout] help: consider annotating `secrets::Secrets` with `#[derive(Default)]`
[INFO] [stdout]   --> src/config/secrets.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  + #[derive(Default)]
[INFO] [stdout] 6  | pub struct Secrets {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secret`
[INFO] [stdout]   --> src/cli/commands.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 secrets.telegram_bot_token = Secret::new(bot_token.clone());
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              use of undeclared type `Secret`
[INFO] [stdout]    |                                              help: a struct with a similar name exists: `Secrets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `authorized_user_id` on type `secrets::Secrets`
[INFO] [stdout]   --> src/cli/commands.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 secrets.authorized_user_id = *user_id;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available field is: `telegram_bot_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cli/commands.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |               Cli::Init { bot_token, user_id } => {
[INFO] [stdout]    |  _________________________________________________^
[INFO] [stdout] 37 | |                 let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout] 38 | |                 secrets.telegram_bot_token = Secret::new(bot_token.clone());
[INFO] [stdout] 39 | |                 secrets.authorized_user_id = *user_id;
[INFO] [stdout] 40 | |                 secrets.save()?;
[INFO] [stdout] 41 | |                 println!("Security configuration saved!");
[INFO] [stdout] 42 | |             } // ... existing handlers
[INFO] [stdout]    | |_____________^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<(), anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `send_file` found for struct `client::TelegramClient` in the current scope
[INFO] [stdout]   --> src/cli/commands.rs:59:40
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     .block_on(async { TelegramClient::send_file(&bot_token, &temp_path).await })?;
[INFO] [stdout]    |                                                       ^^^^^^^^^ function or associated item not found in `client::TelegramClient`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/telegram/client.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TelegramClient;
[INFO] [stdout]    | ------------------------- function or associated item `send_file` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `validate_user` found for reference `&client::TelegramClient` in the current scope
[INFO] [stdout]  --> src/telegram/client.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |         if !self.validate_user(&msg).await {
[INFO] [stdout]   |                  ^^^^^^^^^^^^^ method not found in `&client::TelegramClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `secrets::Secrets: std::default::Default` is not satisfied
[INFO] [stdout]   --> src/cli/commands.rs:91:37
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `secrets::Secrets`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `std::result::Result::<T, E>::unwrap_or_default`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:1198:5
[INFO] [stdout] help: consider annotating `secrets::Secrets` with `#[derive(Default)]`
[INFO] [stdout]   --> src/config/secrets.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  + #[derive(Default)]
[INFO] [stdout] 6  | pub struct Secrets {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `bot` on type `&client::TelegramClient`
[INFO] [stdout]  --> src/telegram/client.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |             self.bot.send_message(msg.chat.id, "⛔ Unauthorized access!").await?;
[INFO] [stdout]   |                  ^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_args` found for enum `commands::Cli` in the current scope
[INFO] [stdout]   --> src/cli/mod.rs:5:17
[INFO] [stdout]    |
[INFO] [stdout] 5  |     let cli = Cli::from_args();
[INFO] [stdout]    |                    ^^^^^^^^^ variant or associated item not found in `commands::Cli`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli/commands.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Cli {
[INFO] [stdout]    | ------------ variant or associated item `from_args` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `StructOpt` which provides `from_args` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use structopt::StructOpt;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from_args_safe` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 5  |     let cli = Cli::from_args_safe();
[INFO] [stdout]    |                             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_backup` found for reference `&client::TelegramClient` in the current scope
[INFO] [stdout]   --> src/telegram/client.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |         self.send_backup(&temp_path).await?;
[INFO] [stdout]    |              ^^^^^^^^^^^ method not found in `&client::TelegramClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> src/backup/archiver.rs:48:7
[INFO] [stdout]      |
[INFO] [stdout] 48   |         zip.start_file(relative_path.to_str().unwrap(), Default::default())?;
[INFO] [stdout]      |             ^^^^^^^^^^                                  ------------------ type must be known at this point
[INFO] [stdout]      |             |
[INFO] [stdout]      |             cannot infer type of the type parameter `T` declared on the method `start_file`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: FileOptionExtension`
[INFO] [stdout]      = help: the following types implement trait `FileOptionExtension`:
[INFO] [stdout]                ()
[INFO] [stdout]                ExtendedFileOptions
[INFO] [stdout] note: required by a bound in `zip::write::<impl ZipWriter<W>>::start_file`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zip-2.2.2/src/write.rs:1165:39
[INFO] [stdout]      |
[INFO] [stdout] 1165 |     pub fn start_file<S: ToString, T: FileOptionExtension>(
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^^^^^ required by this bound in `zip::write::<impl ZipWriter<W>>::start_file`
[INFO] [stdout] help: consider specifying the generic arguments
[INFO] [stdout]      |
[INFO] [stdout] 48   |         zip.start_file::<&str, T>(relative_path.to_str().unwrap(), Default::default())?;
[INFO] [stdout]      |                       +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `secrets::Secrets: std::default::Default` is not satisfied
[INFO] [stdout]   --> src/cli/commands.rs:37:39
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `secrets::Secrets`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `std::result::Result::<T, E>::unwrap_or_default`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:1198:5
[INFO] [stdout] help: consider annotating `secrets::Secrets` with `#[derive(Default)]`
[INFO] [stdout]   --> src/config/secrets.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  + #[derive(Default)]
[INFO] [stdout] 6  | pub struct Secrets {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Secret`
[INFO] [stdout]   --> src/cli/commands.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 secrets.telegram_bot_token = Secret::new(bot_token.clone());
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              use of undeclared type `Secret`
[INFO] [stdout]    |                                              help: a struct with a similar name exists: `Secrets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `authorized_user_id` on type `secrets::Secrets`
[INFO] [stdout]   --> src/cli/commands.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 secrets.authorized_user_id = *user_id;
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available field is: `telegram_bot_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/cli/commands.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 |               Cli::Init { bot_token, user_id } => {
[INFO] [stdout]    |  _________________________________________________^
[INFO] [stdout] 37 | |                 let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout] 38 | |                 secrets.telegram_bot_token = Secret::new(bot_token.clone());
[INFO] [stdout] 39 | |                 secrets.authorized_user_id = *user_id;
[INFO] [stdout] 40 | |                 secrets.save()?;
[INFO] [stdout] 41 | |                 println!("Security configuration saved!");
[INFO] [stdout] 42 | |             } // ... existing handlers
[INFO] [stdout]    | |_____________^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<(), anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stdout]   --> src/config/secrets.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |         file.read_to_string(&mut contents)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/io/mod.rs:991:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `std::fs::File` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read_to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `read_to_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -         file.read_to_string(&mut contents)?;
[INFO] [stdout] 14 +         file.read_to_end(&mut contents)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `send_file` found for struct `client::TelegramClient` in the current scope
[INFO] [stdout]   --> src/cli/commands.rs:59:40
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     .block_on(async { TelegramClient::send_file(&bot_token, &temp_path).await })?;
[INFO] [stdout]    |                                                       ^^^^^^^^^ function or associated item not found in `client::TelegramClient`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/telegram/client.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TelegramClient;
[INFO] [stdout]    | ------------------------- function or associated item `send_file` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `secrets::Secrets: std::default::Default` is not satisfied
[INFO] [stdout]   --> src/cli/commands.rs:91:37
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut secrets = Secrets::load().unwrap_or_default();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `secrets::Secrets`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `std::result::Result::<T, E>::unwrap_or_default`
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:1198:5
[INFO] [stdout] help: consider annotating `secrets::Secrets` with `#[derive(Default)]`
[INFO] [stdout]   --> src/config/secrets.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  + #[derive(Default)]
[INFO] [stdout] 6  | pub struct Secrets {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `from_args` found for enum `commands::Cli` in the current scope
[INFO] [stdout]   --> src/cli/mod.rs:5:17
[INFO] [stdout]    |
[INFO] [stdout] 5  |     let cli = Cli::from_args();
[INFO] [stdout]    |                    ^^^^^^^^^ variant or associated item not found in `commands::Cli`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/cli/commands.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Cli {
[INFO] [stdout]    | ------------ variant or associated item `from_args` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `StructOpt` which provides `from_args` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use structopt::StructOpt;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from_args_safe` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 5  |     let cli = Cli::from_args_safe();
[INFO] [stdout]    |                             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0425, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcup` (lib) due to 15 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stdout]   --> src/config/secrets.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |         file.read_to_string(&mut contents)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/std/src/io/mod.rs:991:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `std::fs::File` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read_to_string` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `read_to_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -         file.read_to_string(&mut contents)?;
[INFO] [stdout] 14 +         file.read_to_end(&mut contents)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308, E0425, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcup` (lib test) due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "812a308db8bcc5604fcc3d0f4399e5d968eefa17bc520e6a903e8fe22aae9e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "812a308db8bcc5604fcc3d0f4399e5d968eefa17bc520e6a903e8fe22aae9e8e", kill_on_drop: false }`
[INFO] [stdout] 812a308db8bcc5604fcc3d0f4399e5d968eefa17bc520e6a903e8fe22aae9e8e
